#ifndef RV32I_SC_CPUTOP_H
#define RV32I_SC_CPUTOP_H

#include "systemc.h"
#include "tlm.h"
#include "InstFetcher.h"
#include "InstDecoder.h"
#include "InstExer.h"

class CpuTop : public sc_module {
public:
    SC_HAS_PROCESS(CpuTop);

    CpuTop(sc_module_name name);
    ~CpuTop();

private:
    InstFetcher *_if;
    InstDecoder *_id;
    InstExer *_ie;
};


#endif //RV32I_SC_CPUTOP_H
